package com.photographysharing.service;

import com.photographysharing.dto.CommentDTO;
import com.photographysharing.entity.Comments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.photographysharing.request.SelectByPaging;
import com.photographysharing.response.DatasResponse;

import java.util.List;

/**
* @author Z
* @description 针对表【comments】的数据库操作Service
* @createDate 2024-05-14 21:15:11
*/
public interface CommentsService extends IService<Comments> {

    boolean comment(Comments comment);

    DatasResponse<CommentDTO> getComments(String photoId);

    DatasResponse<CommentDTO> selectByPag(SelectByPaging pag);
}
